{!! $chart_html !!}
<script>
    $(function () {
        var myChart_{{$chart}} = echarts.init(document.getElementById('{{$chart}}'),null,{renderer: 'canvas'});
        myChart_{{$chart}}.setOption({
            title: {
                text: '会员入驻'
            },
            tooltip: {
                trigger: 'axis'
            },
            grid: {
                left: '3%',
                right: '4%',
                bottom: '3%',
                containLabel: true
            },
            toolbox: {
                feature: {
                    saveAsImage: {}
                }
            },
            xAxis: {
                type: 'category',
                boundaryGap: false,
                data: ['周一','周二','周三','周四','周五','周六','周日']
            },
            yAxis: {
                type: 'value'
            },
            series: [
                {
                    name:'会员入驻',
                    type:'line',
                    stack: '销售额',
                    data:[20, 50, 30, 40, 0, 0, 0]
                }
            ]
        });
    });
</script>
